According to the Samsung forum thread getInstallerPackageName will return null:
Actually, the value is not being set (the method returns null) when you download an application from SamsungApps. This method is an unreliable source of information in this case.
Regards, Artur Stepniewski Samsung Developers
This is also what I get using a small test application.