fixing cartridge agent license related stuff in 4.0.0-incubating branch