In the recommended storage hook for git integration no user gets passed when deleting a shared collection. The user is "Anonymus". This passes the owner name to the storage hook.