Fix error thrown during `middleman build`.

This fixes an error from being thrown when a guide section can't be
found.
Merge pull request #1170 from rjackson/fix_middleman_builds

Fix error thrown during `middleman build`.