I noticed the cronjob has been trying to email me error output from the daily refresh. It appears that two functions in CiscoStack attempt to use uninitialized values in comparisons when refreshing this particular switch, a Cisco Systems WS-C5000 Cisco Catalyst Operating System Software, Version 4.5(14). It references a table to detect gigabit interfaces, but the table is apparently empty. To prevent this from producing error output, I created this patch to check for the existence of the table entry before comparison. Please review it for inclusion.