[TIMOB-17347] When checking if the Android package manager is running, a...

...dded error check and then convert buffer to string before checking if the system_server has started.