A woman has received a four-year prison sentence after cannabis valued at €1.5 million was stored at her home in Dublin.