Fixed bug in deploy script where local changes check was failing