Don't overwrite $APP/URL modified by plugins in post-deploy hook

Changes made by a plugin (e.g. nginx-vhost) in $APP/URL will be overwritten during deploy.
Now the file will be generated before running post-deploy hooks.