Fixed null-pointer bug when GSM support is disabled