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

Please backport to 3.6.x as well.