r24004: Convert reply_checkpath to the new API