Fix bug in installation order
Fix bug in extracting package name from source package filename