Remove dirname from to-do list