SSH agent issues with task terminal that fires of PIO. How to make it read the .bashrc?

Hi there. Looks like VSCODE is having issues with the terminal used to run tasks. It needs to clone git repos but the environment does not have a ssh-agent.

I already edited the settings with:

    "terminal.integrated.automationProfile.linux": {
        "path": "bash",
        "args": ["--rcfile","~/.bashrc"]

But looks like its not working. Any workaround?