Update msfcli to use HasActions

This fixes #4002. It should have been part of #3962.