Ignore working directory when excluding system patterns.

Fixes #1604 by removing working directory from excluded patterns.
Rather than being hard coded to `Dir.getwd`, shouldn't this use the configured inclusion patterns?