cleanup: convert 'convertDependency' return type from '[Dependency]' to 'Dependency'

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>