REDCORE-161 Fixed reading of XML file when looking out for component version