Fix variable value if EXTERNAL_SD is unset (ie. with custom kernels)