Better way to check if running on Ubuntu

Signed-off-by: Daniel Francis <francis@sugarlabs.org>