git apply doesn't work for repos inside of a repo, changed to standard patch command