SONAR-4627 Improve error message when creating a manual metric