Fixed the empty pattern bug.  Needed to apply the condition before the
actual definitions of my resources.  They were still getting applied to
the manifest, regardless of the conditional in the chain.  The chain
only controls the order (if exists.)