Avoid Profile.getInstalled() NullPointerException
Merge pull request #131 from yongjhih/profile_getInstalled_NPE

Avoid Profile.getInstalled() NullPointerException