Fixed the error message when the target folder could not be found