dmparser: Use find_path_by_dev()