Sort the keys in the configuration file
Try to put the app_dir in the deploy hash