Fix new project config and path expansion issues