--TEST--
Install package and it's replacer skips the original
--COMPOSER--
{
    "repositories": [
        {
            "type": "package",
            "package": [
                { "name": "example/foo", "version": "1.0.0" },
                { "name": "example/foo-fork", "version": "0.5.0", "replace": { "example/foo": "1.0.*" } }
            ]
        }
    ],
    "require": {
        "example/foo": "1.0.0",
        "example/foo-fork": "0.5.*"
    }
}
--RUN--
install
--EXPECT--
Installing example/foo-fork (0.5.0)
