I don't know how you feel about using exceptions for normal control flow (which this looks like). I personally try to avoid it.   It's a tiny bit uglier, but you could use filter instead of get. Filter won't throw an exception if there's nothing there.