Introduced an error message for blank directory settings.