cf-dc-api.pl: glob returns '' on an undefined value