BRANCH 4.1: fixed stack error when default project is pointing to a
project that does not exist.