Output an error if no matching sls file is found, Fix #5048