Fix Copy project: Always error message "subproject of invalid"