Adds expandable globs support to shell adapters
fix issue 4911
fixed paths/notPaths regex for shell adapters