Convert NULL path argument into "" path at define_var, so we don't need to bother with NULL everywhere