Fix for syntax error in cartridge.rb.

Change-Id: Ic90d959409114bd573dee3c906a3f9cfaed75aa7