Fixed flow. Removed spaces and tabs. Added log into goo.im

PS2: More code cleaning
PS3: Removed carriage return
PS4: Prevent NPE when using external gapps packages

Change-Id: Iad294e895cfa89fdcec3a612cefb160cbb620de4
Fix crash when no gapps are installed

Change-Id: I8d6eca1f9be04279e24ca5ac2f03713ad12e2c55
Fix crash when cm's gapps are installed

Also, don't show the word "null"

Change-Id: I5a2e9915d471c87336f0c829309ee4410426e59b