file pickers: simplify places widget visibility check

(integrated from trunk branch change a82bbd5 by toddw <toddw@dingo.(none)>)