It can be both. This word is old enough that it was significantly affected by the evolution of languages. But since some non-Indo-European languages have words that sound similar (the Chinese ones, in my uneducated opinion), it could indeed initially have been a Wanderwort.