Added restrictions Srv_getPackageInfo and Srv_getApplicationInfo

Fixed #1834