fix error when no extra package supplied

it would try to install '' package