Replace role::cache::ssl if statement with a selector

The existing if statement had broken indentation, typos
in a variable name, and could be replaced by a shorter
selector anyway.

Change-Id: I500b8aa90a7961e6b31c67c91a20fd7a85025e9b