Deployment: Use build data rather than enviornmental variable to check whether build is a pull request