Fixed snapshot bug

The problem was that if you didn't create a project using the `mortar projects:create` command, master would never be pushed to Github, meaning when you then did a script action, it would set the head to the snapshot.