Fix push when doc not already exists