build-git: Abort if $builddir is not clean

Abort if there's some uncommitted changes or unknown files in $builddir.

c2b5a1ce-1306-11e3-8941-001f3b596ec9