Fix flashcache.spec errors when building and .git dir doesn't exists

Signed-off-by: Roi Dayan <roid@mellanox.com>