ASM-2570 fix esx_portgroup nilClass errors

Make sure the policy nicTeaming is non-nil before using it