Amend 48180919da That commit added the dependency, but did not reset the dirty flag, so it only worked once. Fixes: #4538
48180919da