Prevent division by zero exception in ABK loader

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>