validate image ID properly & before load
validate image ID properly & before load

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>

Conflicts:
	graph/load.go

thaJeztah/distribution,thaJeztah/distribution