Fix a typo in dynamic path setting.