It would throw that, yes.. I thought about guarding this, but this should only be called in tests that have the 'sdcard' attribute, and such tests should not be run on the desktop builds.