[JENKINS-17096] Convert OS specific separators upfront in ConfigSpec

Raw config spec may have been defined with different OS separators,
leading to issues when comparing them.
Merge branch '1.3.x'