Fixed invalid check for vgl deploy directory