MediaBag test used `inDirectory` (which calls `setCurrentDirectory`), changing the process-wide CWD and causing other parallel tests to fail with "does not exist" errors on relative paths. Replace with absolute paths so the test no longer changes CWD. Closes #11566. Co-Authored-By: Claude <noreply@anthropic.com>