Stop generating empty fragments when require() used as expression