Fix directoryExistsAtPath: failure

Currently the lastError is set when the connection succeeds but the directory was not found. This causes the lib to return an error when it should return success with `exists` set to `NO` -- to indicate that the directory doesn't exist.