DRY up {ex,in}clusion pattern checks
Full test coverage of rcm.sh