Fix repository push to work without callback.