Fix small bugs with package explorer page

1. Fix bug whereby some legacy package has the package binary hosted externally. #628 
2. Fix some layout issue.