added check for empty location (helper, ical-output)