Add helper function find_path_attr
[arte] Fix on 2.6
[brightcove] fix on Python 2.6