Fixed error being thrown when packages not already installed.