Delete a package if its last version got deleted. Otherwise removing the owner works only after the clean up job ran. Fix #20969