portability fixes for some tests
Apparently the ls on OS X 10.3.9 exits with success even if the file
given on the command line doesn't exist
abort: repository a not found!255abort: error: Connection refused255abort: repository a not found!255abort: destination '../a' already exists255abort: repository a not found!255abort: destination 'q' already exists