Add check for empty block to TargetCollection(String).

TargetCollection will not attempt to parse an empty block.