[BUG BASH] Don't allow exporting of empty data