I was about to add a check to verify the shared media folder exists and saw a similar change was pushed a couple days ago. I'll use the upstream commit instead.