Fixed issue where build jobs that match the templateJobPrefix but not
the branchNameRegex were being deleted.