improving error messages around path not exists