added fix for main branch being built with the pull requests