Make sure the 'cert' directory exists.

While working on a docker instance, I got into an error copying the certs over since the cert directory didn't exist on the target. This was tested on that docker instance.