Fixed BZ#1072657 - The checkout command throws an NPE when no valid content spec exists.