changed deploy script to print message and exit if the current branch is not master