Fixes a bug in handling guides without icons

Guides without icons were causing crashes because parameters.icon was undefined, meaning paramaters.icon.file couldn't be read.