Fix behaviour if Command can be imported but DefaultInstallCommand cannot.