Fix matching version extracted from the .h against the package.xml

The version check is never set to failed, only success, so we need to
initialize the value to false, otherwise it'll always succeed