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