account for non-master default branches, fixes #2