Better fix for DSKCLI-279
First try to see if git repository is initialized