Store resolution when --force-latest is specified, fixes #861