Thanks for your answer. Then, one solution might be to give the name of the missing package in the error message, ie replacing
"The requested apache plugin does not appear to be installed." by "Plugin python-certbot-apache is missing, it must be installed"