You need to check `effective_deps.empty?` here; it will never be nil.