Change testdeps to print deps only when needed.