Avoid repetitively looking up on null project.