Check what basepath is