Power Armor UPS bug (Experimental build 4671)

version: 0.C-12802-g1f2abca (tiles).

Put on Power Armor, picked up a full UPS. Activate power armor, walk in any direction, get an error message:
Tried to set ammoof none for UPS

in file item.cpp
line: 245
function ammo_set

But it does decrements the UPS charge.

If I turn on my bionic UPS, it works fine