A better check for django packages.