Fix form validation for HTTP-based Git repos by creating a temporary workspace
using the same directory used to store the credentials.