[skip CI] Fixed bug: getTag via prepareTag.