Fix #20, ignore (no branch) in detached state

Add:
 * Check for (no branch) which occurs when repo is in a detached state
 * Fixtures for the specs to test detached state
Remove unnecessary call to clean_for_authors
Merge pull request #21 from kevinjalbert/fix-crash-in-detached-state

Fix #20, ignore (no branch) in detached state