Fixes git package check, removes git from librarian (handled outside). Fixes #789