Changes way of producing string for property, should fix lack of path names printed.