[api] fix project copy into existing project (2.4 regression)