Add error message when making local dir unsuccessfully