Avoid calling deprecated User::getSkin()

Change-Id: If8246aa2c192d490d18c405d35e654a3b1c9ae4f