Fix detecting already installed.