qibuild.profile.configure_build_profiles: small bug fixes
qibuild.profile.configure_build_profiles: small bug fixes

Change-Id: If669de77b51e61c01a61c4290c6c33b3cfaad62e

dmerejkowsky/qibuild,aldebaran/qibuild,dmerejkowsky/qibuild,aldebaran/qibuild,aldebaran/qibuild,dmerejkowsky/qibuild,aldebaran/qibuild,dmerejkowsky/qibuild,dmerejkowsky/qibuild