restore: check_core -- Move core->ids check under separate if() statement
restore: check_core -- Move core->ids check under separate if() statement

We will need to extend non-zombie tests.

Signed-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@openvz.org>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

KKoukiou/criu-remote,KKoukiou/criu-remote,rentzsch/criu,KKoukiou/criu-remote,fbocharov/criu,marcosnils/criu,marcosnils/criu,gonkulator/criu,gablg1/criu,sdgdsffdsfff/criu,kawamuray/criu,KKoukiou/criu-remote,wtf42/criu,LK4D4/criu,rentzsch/criu,eabatalov/criu,svloyso/criu,fbocharov/criu,biddyweb/criu,LK4D4/criu,efiop/criu,wtf42/criu,gablg1/criu,wtf42/criu,biddyweb/criu,ldu4/criu,KKoukiou/criu-remote,efiop/criu,wtf42/criu,eabatalov/criu,biddyweb/criu,marcosnils/criu,eabatalov/criu,gonkulator/criu,LK4D4/criu,svloyso/criu,eabatalov/criu,kawamuray/criu,fbocharov/criu,tych0/criu,gablg1/criu,tych0/criu,fbocharov/criu,fbocharov/criu,eabatalov/criu,marcosnils/criu,LK4D4/criu,gablg1/criu,LK4D4/criu,biddyweb/criu,AuthenticEshkinKot/criu,tych0/criu,wtf42/criu,fbocharov/criu,marcosnils/criu,tych0/criu,biddyweb/criu,efiop/criu,gonkulator/criu,svloyso/criu,AuthenticEshkinKot/criu,gablg1/criu,svloyso/criu,kawamuray/criu,marcosnils/criu,ldu4/criu,gonkulator/criu,ldu4/criu,sdgdsffdsfff/criu,kawamuray/criu,sdgdsffdsfff/criu,sdgdsffdsfff/criu,svloyso/criu,rentzsch/criu,rentzsch/criu,rentzsch/criu,gonkulator/criu,tych0/criu,sdgdsffdsfff/criu,kawamuray/criu,tych0/criu,sdgdsffdsfff/criu,wtf42/criu,kawamuray/criu,ldu4/criu,efiop/criu,AuthenticEshkinKot/criu,svloyso/criu,efiop/criu,AuthenticEshkinKot/criu,KKoukiou/criu-remote,LK4D4/criu,ldu4/criu,ldu4/criu,AuthenticEshkinKot/criu,rentzsch/criu,gablg1/criu,efiop/criu,AuthenticEshkinKot/criu,eabatalov/criu,biddyweb/criu,gonkulator/criu