core: Avoid null clean target