Fixed check for revision file

make sure to create one if it does not exist and kiwi
is called locally from a git checkout