Fix support of aliases combined with reference locked packages, fixes #1631
typo

I see, that exist a typo error.
Merge pull request #1635 from desarrolla2/patch-1

typo