but that requires the assumption that .pike is the extension.
which is of course right almost all the time but someone could overload the master and add a different extension (like i did with nessie), and then the stat would fail, while the cast to program would still work.
but you are right, just hiding the error is not nice either, should selectively handle the lookup error, and rethrow any others
greetings, martin.