Added custom message for checkDependencies