Fix a bug: handle the case where m_resolved_paramstr_storage is not big enough to store the resolved path