Attempt to fix repository errors