Enhancement: speed up deploys

This ensures recipes are only executed when an application is
send to the server. It should work on both setup and deploy?
Merge pull request #419 from till/t/speed-up-deploys

Enhancement: speed up deploys