throw more informative exception if path not found