In configure_from_yaml, always expand the path.