Detecting architecture based on $PACKAGE_SYSTEM
Based on $PACKAGE_SYSTEM is getting architecture either using dpkg or rpm.