Making sure package is installed from both git and npm but not installed twice