[Makefile] fix possible issue with imagebuilder