Guard against null project