I can't see how that can return null it only returns OC\App\Info, the getData function can return null, will update the doc