Fix lfn2pfn exception catch in get*. Fixes #4274