Null checks on layer name when building conveyor

Fixes an error introduced by #273  

This doesn't seem to break what you're doing  does it @n-lagomarsini ?