Return empty array of project types on failure, fixes #238

When no projects are detected