Added functionality to locate bare repositories, it wont be super fast w...

...ith 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"