[osx] [spell] Check for bundle before getting resource path