Add a %q format -- package architecture
Use the new %q format to print the package architecture.
Add tests for %q -- package architecture