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