added case to handle outside git repo