Support ~ or $VAR for --config option value