Allow device lookup via topology path

Signed-off-by: Petr Štetiar <ynezz@true.cz>