add guard clause to web endpoint code
change name of env var from HUBOT_DEPLOY_WEB_ENDPOINT to HUBOT_DEPLOY_REST_APPS