Another small update to getprefix.