Severely cleaned up getPacketFlow, got rid of nonexistent error conditions