Run git lfs in a separate step. Jenkins is unable to load the credentials for the custom LFS endpoint. Command works locally but it's unable use the credential manager within Jenkins.
Integrating latest up through commit 47acbe8