Fix some bugs

[Now](https://github.com/maxjacobson/git-sleep-site/issues/26) that gitsleep is back online I can check if the gem actually works, and it totally didn't :smile: 

* actually check the can_commit value
* avoid some ruby errors when reassigning constants