Oliver Homig was arrested as soon as he left prison, the court heard