In any case, this is probably the best-case solution, adding a blacklist function so I can happily continue using git without making my client patch the git files
Thanks!
Edit:
Had to remove decryption because files were missing, but I have now hardcoded the git-filter and it's working like charm!