utils: dependency resolving
utils: dependency checker improvements

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>