Prevent null-string error messages related to REST deployment.
Log an error if the REST API directory couldn't be found for rest or hybrid apps. Don't log one for the REST extensios directory