DPMS: fixes calls to getMainUser()

It can return null, which was causing NPE on phone.

Test: build / boot / sys UI doesn't crash
Fixes: 265846998

Change-Id: I5659e9d9015aae8256dc34bc0492796c400cc4ca
1 file changed