[BUGFIX beta] Make setPath errors clearer.