Bug fix

Fixed bug that prevented saving a file at the root of a github repository.