minor fix to the gac function

Signed-off-by: Alexander Skjolden <alex@plastboks.net>