Adding condition to check if patternItems is set before attempting to perform a foreach which throws an error when its not during build.
Adding condition to check if patternItems is set before attempting to perform a foreach which throws an error when its not during build.

rpkoller/patternlab-php,andrewmowe/tmi-patternlab,swiftagency/patternlab-php,amyash/patternlab-php,advisorwebsites/patternlab-php,dcmouyard/patternlab-php-gesso,usminteractive/patternlab-php,peterwilsoncc/underscores-pattern-lab,coreylafferty/patternlab-php-gesso,nadre/erdande,DSI-VD/patternlab-vd,foxman209/patternlab-php,peterwilsoncc/underscores-pattern-lab,andrewmowe/tmi-patternlab,peterwilsoncc/joy949-patterns,capognavalerio/patternlab-php,tweakers-dev/patternlab-php,dcmouyard/patternlab-php-gesso,foxman209/patternlab-php,vfalconi/patternlab-php,trevorkjorlien/elevation-prototype,tweakers-dev/patternlab-php,nadre/erdande,ahebrank/patternlab-php,tweakers-dev/patternlab-php,ninjazero/atomic-drupal,usminteractive/patternlab-php,vfalconi/patternlab-php,ninjazero/atomic-drupal,vfalconi/patternlab-php,amyash/patternlab-php,swiftagency/patternlab-php,ericgsmith/d7patternlab,nadre/erdande,dcmouyard/patternlab-php-gesso,IOIO72/patternlab-php,sarahjean/sdd-pl-demo,coreylafferty/patternlab-php-gesso,trevorkjorlien/elevation-prototype,sarahjean/sdd-pl-demo,taupecat/patternlab-php,nadre/erdande,peterwilsoncc/joy949-patterns,ericgsmith/d7patternlab,sarahjean/sdd-pl-demo,peterwilsoncc/underscores-pattern-lab,capognavalerio/patternlab-php,ninjazero/atomic-drupal,Wagnerp/patternlab-php,ahebrank/patternlab-php,amyash/patternlab-php,sarahjean/sdd-pl-demo,advisorwebsites/patternlab-php,IOIO72/patternlab-php,coreylafferty/patternlab-php-gesso,swiftagency/patternlab-php,taupecat/patternlab-php,coreylafferty/patternlab-php-gesso,swiftagency/patternlab-php,andrewmowe/tmi-patternlab,foxman209/patternlab-php,ahebrank/patternlab-php,foxman209/patternlab-php,advisorwebsites/patternlab-php,DSI-VD/patternlab-vd,trevorkjorlien/elevation-prototype,usminteractive/patternlab-php,capognavalerio/patternlab-php,peterwilsoncc/joy949-patterns,rpkoller/patternlab-php,ninjazero/atomic-drupal,DSI-VD/patternlab-vd,peterwilsoncc/underscores-pattern-lab,Wagnerp/patternlab-php,taupecat/patternlab-php,Wagnerp/patternlab-php,rpkoller/patternlab-php,andrewmowe/tmi-patternlab,taupecat/patternlab-php,DSI-VD/patternlab-vd,IOIO72/patternlab-php,ericgsmith/d7patternlab,Comi9/patternlab-php,ericgsmith/d7patternlab,tweakers-dev/patternlab-php,usminteractive/patternlab-php,IOIO72/patternlab-php,rpkoller/patternlab-php,capognavalerio/patternlab-php,Wagnerp/patternlab-php,Comi9/patternlab-php,peterwilsoncc/joy949-patterns,amyash/patternlab-php,tweakers-dev/patternlab-php,Comi9/patternlab-php,swiftagency/patternlab-php,trevorkjorlien/elevation-prototype,vfalconi/patternlab-php,dcmouyard/patternlab-php-gesso,ahebrank/patternlab-php,nadre/erdande,Comi9/patternlab-php,pattern-lab/patternlab-php,advisorwebsites/patternlab-php