Don't throw an error when HEAD is detached (closes #6).
release/0.2.2
Merge branch 'develop'