removed mode hanlding of puppet repository