Fix use of msg before assignment
Correct behaviour of when using list with cross-env file path
Merge pull request #5805 from elbaschid/make_source_list_work_across_environments

Using files from other envs in source lists of file.managed states