Fix error when directory '/usr/local/bin/' does not exist.