fix: missing return when dependency is not found