Fix .slugignore evaluation to work with directories and globs