Buildplugin: Fix file-name-detection if there is no message
Make the space before the (optional) message optional
Also add a warning message in case the target file cannot be found and a hint to add a search path.
Make the space before the (optional) message optional
Also add a warning message in case the target file cannot be found and a hint to add a search path.