Ticket 47513 - Refine the check for @localrundir@
Bug Description: if @localrundir@ is not set, then the wrong value is used for tmpfiles.d
Fix Description: Improve the checking/setting of the localrundir. set_path_attribute() is not
the correct subroutine to call as it can incorrectly add the prefix again
if @localrundir@ is not set. Created new function to just add the prefix -
only if @localrundir@ is set.
https://fedorahosted.org/389/ticket/47513
Reviewed by: richm(Thanks!)