Free avalon->works in the event we call avalon_prepare on failure to initialise.