fix KeyError when deleting nonexistent paths
fix KeyError when deleting nonexistent paths

fixes #477

patmarion/director,patmarion/director,manuelli/director,manuelli/director,manuelli/director,manuelli/director,patmarion/director,patmarion/director,patmarion/director,manuelli/director