Fix unresolved user defined role

Fixes a bug where a user defined role wouldn't be resolved to a vlan category if passed directly to getVlanByName

Happens with module Catalyst_2950 using port-security.

Not sure it's the correct way to fix it but it works.