performance: make require path calculation slight faster