deal with freeing dependency maps properly when freeing package variables