fix creation of SG Home
Created by: burmudar
filepath.Dir(path)
returned the users home directory and not $HOME/.sourcegraph
... so MkdirAll was a noop since the home directory existed. Removed the filepath.Dir
Closes https://github.com/sourcegraph/sourcegraph/issues/35355
Test plan
Added Unit test