Changed order of set operation and semantics of list comparison in get_bin_paths_func

Fixes a couple minor issues in locating paths