wic rm does not currently remove directories, nor does it support the -r flag
fixed - see https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/scripts?id=3555766ea866e66b738382c95a2f3d82ef066996