Cleanup enpkg command-line handling

Only substantive change is bug which can prevent installation of multiple packages in one run. Otherwise, just cleanup and checking consistency of user input.