add package name and version info when main&css is not found, fixed #390