dokku apps:rename command doesn't change application name in hooks/pre-receive.
This causes that command git push to dokku doesn't trigger deploying scripts.
Reproduction procedure:
- dokku apps:rename old_name new_name
- change any file in the repository and commit it
- git push dokku master
Expected results: deployment script shall be executed and new version of application shall be deployed
Results: nothing happened