Fix create_port_precommit to support portgroup prefix also