Update ReferenceAssembyPath detection

Don't throw exception if `v4.0` path available and `v4.5` is not, plus
check for `v4.5.1`.