Fixes NPE in Sky device test