Handle weird extensions on overrides. fixes #813.
Merge pull request #920 from afred/overrides-with-bad-extensions-813

Handle weird extensions on overrides. fixes #813.