target: Make target_release_cmd_kref release on empty list