Use sha hashes as keys in Repository#listDirectory() array and allow it to accept options