certificates: check for contents before rm of certs
Check that there are any contents within /etc/ssl/certs prior
to the rm -r
call. This removes a spurious, known warning that
the directory is empty, and there is nothing to remove.
Relates to gitlab-org/charts/gitlab#1534