Don`t you think it would better to use the built in FSLogix exclude/include feature (redirections.xml) and exclude the "%localappdata%\packages" folder
The "%localappdata%\packages" will then be redirected to the "local_<username>" folder, and not copied to the profile disk when logging off.
Regards
Fredrik