Create a backend for a directory containing packfiles.
location to store the odb backend pointer
the Git repository's objects directory
0 or an error code