Fix git sha extraction in deb build script