Ensure we return the return code from the install/copy/etc. functions