Fetch pkg when parsing args