Running pear outside of a git repo handled

pear outside of a repo tells the user it only works inside a repo
we also only run the code that sets the git dir inside a git repo
this hides the error it would throw ourside of a git dir

closes #9 

![screen shot 2014-07-04 at 8 57 28 am](https://cloud.githubusercontent.com/assets/2591516/3483729/65de1de4-0394-11e4-9961-a9b227de09dc.png)