Fix problems with newly initialized repositories.

 Fixes #17.