[minor] less restrictive getPath assertion