check if there are local changes, if yes don't allow deployment