[package] Update common.sh for better pull_source mechanism. Thanks dbmandrake