Moved mnt_parse_version_string inside the function