Small null check to make errors nicer for unresolved deps