--git-dir and --work-tree don't work for apply