Setting hg_url in input_files (or options) doesn't work

When defining hg_url in options or in input_files, this value is ignored.