fix bug when opening a resource with a git config