Fix target membership for NSData+Git
Return empty NSData for empty git_buf