Error when there's no git repo

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>