Only set the path option if it existed when parsing a legacy lockfile

- See #529
Merge pull request #544 from sethvargo/fix_lockfile_path

Only set the path option if it existed when parsing a legacy lockfile