Adding one if to cover vanilla ubuntu