Prevent upsearch from going beyond scope of current git repo