Simplify external links test case
Guard against stubbed items in Sass filter

Because the items collection may contain items without a matching
content file, the Sass filter should first ensure that the item has a
file before attempting to expand its name.