Identify YamlFile by path, not name

There is no point in storing a 'name' for a YamlFile, let's use the
path, which is unique.

Also, adds a test for the property.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2 files changed