fixed another git-problem: current revision checking was still using the asynchronous bash-function and didn't wait for the result