Add profile directory handling to packaging

Status Job ID Name Coverage
  Build
passed #244181
librem5
build_package

00:02:04

failed #243954
librem5
build_package