Fixing bug with createPackages when fpm is not already installed