Make gitletDir() work with bare repos

* Prev version assumed [core] would be at start of file
Switch to gitlet path for fetch

* Prev version switched to working copy, which will not exist for bare repos
Move back to original directory after fetch