Corrected bug: If vlan provided is None raise an error

No match.