Fix CI builds for external contributors using forked repos.