[FIX] add missing return when dependency is not found