fix #17316. Don't overwrite reference path
when <Reference> project item has Condition attribute
Merge pull request #478 from xplicit/fixcondproj

fix #17316. Don't overwrite reference path