Added code to ensure we don’t try to decode a path that is already bytes