FORGE-2156: OptionCompleterFactory should test the resource type