Added functionality to locate bare repositories, it wont be super fast with the preg_match but it shouldn't be awful either since it wont execute the preg_match until it actually finds a file named "config"