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

... is defined.
Reason: this postupdate script results in error, when updating pimcore to 2.0 (from 1.4.x)