prevent doclet paths from being shortened twice (#514)