Dependencies with a path location take precedence over locked ones
add specs for previous commit
Merge pull request #809 from RiotGames/fix-locked-path-locs

Dependencies with a path location take precedence over locked ones