Simple function added that check is valid git repository path without initializing it