Fix bug in Site.assembleSections method
Fix bug in Site.assembleSections method

Site.assembleSections logic assumes that the the home page would always be the first in the Site's list of pages. This is not in fact guaranteed to be true. When it is not, the method can fail to set the parent for some or all root-level pages.  
Fixes #4447

anthonyfok/hugo,mdhender/hugo,anthonyfok/hugo,fedelibre/hugo,fedelibre/hugo,mdhender/hugo,mdhender/hugo,fedelibre/hugo,gohugoio/hugo,fedelibre/hugo,gohugoio/hugo,gohugoio/hugo,mdhender/hugo,anthonyfok/hugo