Update class.deploy.php

if the webserver user doesn't have access to all the directories in the path hierarchy realpath returns false. This kills the script in situations where you're tightly controlling access. So if it fails, will try just what the user passed in, assuming an absolute path.