fix(config): don't persist currentConfigName if not provided