Fix version specific deface erb tag

fixes BZ #1154745