stable: do_it_all: handle deleted patches better.

This quiets git down and makes things work for git 2.x properly