[OS-BUILD PATCH] redhat/scripts/expand_srpm.sh: add missing function, robustify