Resolve config path correctly