Makefile: add error messages for undefined package or url
Makefile: fix indentation of missing url check
Makefile: fix indentation of missing url check