this is a breaking change, but this was only recently added so I'm not too worried. This also seems the best way to handle sub-namespaces on this method.
This commit adds support for Git refs. Listing of refs does not support sub-namespaces.