Fixed getPath()

Replaced hardcoded "bundle" protocol with call to
URL#getProtocol().