Fix checkDependency message