Reduce failures due to transient files in the shared directory

An example:
  Directory structure:
    $ find -print
      .
      ./cached-copy
      ./cached-copy/cached_file
      ./bundle
      ./bundle/bundle_file
      ./some_dir
      ./some_dir/other_file.txt
      ./some_file.txt

  Output of current find command:
    $ find . -name cached-copy -prune -o -name bundle -prune -o -print
      .
      ./some_dir
      ./some_dir/other_file.txt
      ./some_file.txt

  Output of updated find command:
    find . -maxdepth 1 -not -name bundle -not -name cached-copy -print
      .
      ./some_dir
      ./some_file.txt