Improve error reporting in project node initialization