fix: show full path when undefined/null token requested

Added unit test describes the problem the best.