Core/Commands: Fix crash with .pinfo (thx to Sar777)