resolve: Add patches and images to the components when fetch is required

When the user asks to fetch patches or images, the name is appended to
the list of components to fetch and a checkout is done.
libqa: Fix typo

It's startswith not startswidth.