feature: added conditional KEX checks

implemented for ubuntu right now

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>