installer: fix bug in include check