Add path not found handling when setting permission on an inexisting path.