libsensors: Fix for maps crash

Change-Id: I26039179b86b8037fcebe2ea0523029913a1bb48