fix handling of addons in repo subdirs

Required fix for #5