stack-checker.dependencies: use short-circuit better.