fix for remote packages with absolute paths