Fix possible NPE when not specifying an ID for '- listen'