Fix passing a globals list to luacheck

luacheck receives a comma-delimited list of globals