fix bug around assuming "master" to be default branch, see #43
Merge pull request #44 from tkruse/fix_master

fix bug around assuming "master" to be default branch, see #43