Don't assume repos exists in the object (even if it should)

Fix for Issue #535 - cobbler sync fails on "Exception value: 'repos'"