pleroma_ctl: fix crashes due to different shift(1) behavior on dash