promises.cf: don't run lsb detection on non-linux unixes

(cherry picked from commit bb6b2db8539516feb816822604778d2990676dc6)