prevent error on empty options
fixed prepareRepo
Merge pull request #20 from dotch/master

fixed bug with remoteUrl var in prepareRepo and added of empty options parameter