Updated tent code to support export for empty url