Fix bug with empty defaults path when specify current config directory.