Fix bug when name of repo and name in package json not the same