Only try to create directory, if "PIMCORE_DEPLOYMENT_PACKAGES_DIRECTORY" is defined.