Fix quoting errors in userdir and userdirinstance classes

There have been two wrongly quoted parameters in the `userdir` and `userdirinstance` classes which contain variables for string interpolation but have used single quotes which won't interpolate strings.