Fix 'dependency problems' handling in buildd functions